package view;

import java.awt.Point;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;

import model.entity.BasicEntity;
import model.entity.Entity;

public class EntityOnScreen {
	private static Map<BasicEntity, Point> visibleEntitiesList = new HashMap<BasicEntity, Point>();
	public static void addEntity(BasicEntity e, Point p) {
		visibleEntitiesList.put(e, p);
	}
	public static void removeEntity(BasicEntity e) {
		visibleEntitiesList.remove(e);
	}
	public static Set<BasicEntity> getVisibleEntityKeyList() {
		return visibleEntitiesList.keySet();
	}
	public static Point getPoint(BasicEntity e) {
		return visibleEntitiesList.get(e);
	}
	public static void clearEntitiesOnScreen() {
		visibleEntitiesList.clear();
	}
}
